import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-returnwarehouse-manage',
  templateUrl: './returnwarehouse-manage.component.html',
  styleUrls: ['./returnwarehouse-manage.component.scss']
})
export class ReturnwarehouseManageComponent implements OnInit {

  goodCode: string = '';
  goodName: string = '';
  dateRange = [];
  kf: string = '';
  kq: string = '';
  status: string = '';
  // 日期选择
  onDateChange(result: Date): void {

  }

  listOfData = [
    {
      id:1,
      choose:'1',
      code:'123',
      name:'121212',
      pici:'1212',
      num:'2',
      guige:'1212',
      zl:"asas",
      fggy:'1sdsad',
      rkyy:'sd',
      rkry:'ssss',
      rksj:'gfdgf',
      isfggy:'df',
      isfgpf:'ghj',
      status:'wewe',
      mark:'gf'
    },
    {
      id:2,
      choose:'1',
      code:'123',
      name:'121212',
      pici:'1212',
      num:'2',
      guige:'1212',
      zl:"asas",
      fggy:'1sdsad',
      rkyy:'sd',
      rkry:'ssss',
      rksj:'gfdgf',
      isfggy:'df',
      isfgpf:'ghj',
      status:'wewe',
      mark:'gf'
    },
    {
      id:3,
      choose:'1',
      code:'123',
      name:'121212',
      pici:'1212',
      num:'2',
      guige:'1212',
      zl:"asas",
      fggy:'1sdsad',
      rkyy:'sd',
      rkry:'ssss',
      rksj:'gfdgf',
      isfggy:'df',
      isfgpf:'ghj',
      status:'wewe',
      mark:'gf'
    }
  ];

  isVisibleMark = false;
  showModalMark(): void {
    this.isVisibleMark = true;
  }

  handleOkMark(): void {
    console.log('Button ok clicked!');
    this.isVisibleMark = false;
  }

  handleCancelMark(): void {
    console.log('Button cancel clicked!');
    this.isVisibleMark = false;
  }
  fgMark:string = ''

  isVisibleFA = false;
  showModalFA(): void {
    this.isVisibleFA = true;
  }

  handleOkFA(): void {
    console.log('Button ok clicked!');
    this.isVisibleFA = false;
  }

  handleCancelFA(): void {
    console.log('Button cancel clicked!');
    this.isVisibleFA = false;
  }

  gyName:string = '';//模态框工艺名称
  gyCode:string = '';//模态框工艺编码
  pzSelect:string = '';//品种选择
  gylbSelect:string = '';//工艺类别
  gylxSelect:string = '';//工艺类型
  statusSelect:string = '';//状态
  fgfsSelect:string = '';//返工方式
  inHpl:string = '';//混批量

  constructor() { }

  ngOnInit(): void {
  }

}
